* Created: 6/13/2004 7:07:39 AM
*                                                        
* Modify the path below to point to your data file.      
* The specified subdirectory was not created on          
* your computer. You will need to do this.               
*                                                        
* The stat program must be run against the specified     
* data file. This file is specified in the program       
* and must be saved separately.                          
*                                                        
* This program does not provide tab or summarize for all 
* variables.                                             
*                                                        
* There may be missing data for some institutions due    
* to the merge used to create this file.                 
*                                                        
* This program does not include reserved values in its   
* calculations for missing values.                       
*                                                        
* You may need to adjust your memory settings depending  
* upon the number of variables and records.              
*                                                        
* The save command may need to be modified per user      
* requirements.                                          
*                                                        
* For long lists of value labels, the titles may be      
* shortened per program requirements. 
*                                                        
insheet using c8990hd_data_stata.csv, comma clear
*label data "dct_c8990hd"
label variable unitid "unitid"
label variable unitidx "ID of institution where data is reported"
label variable rstatus "Imputation Status"
label variable formrt "Survey form"
label variable parchild "Parent/child indicator"
label define label_rstatus 1 "Respondent" 
label define label_rstatus 3 "Nonrespondent, not imputed", add 
label define label_rstatus 4 "Nonrespondent, imputed", add 
label values rstatus label_rstatus
/*label define label_formrt C "Form C" 
label define label_formrt CN "Form (CN) Consolidated", add 
label values formrt label_formrt */
label define label_parchild 1 "Parent record" 
label define label_parchild 2 "Child record only", add 
label values parchild label_parchild
/*tab rstatus
tab formrt
tab parchild
summarize unitidx
save dct_c8990hd

